package com.javabaas.server.novel_server.rank.entity;

import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface RankRepository extends MongoRepository<Rank, String> {

    List<Rank> findByGenderEqualsOrderByPriorityAsc(String gender);
}
